package com.zrf.testchatgpt.service;

import java.util.Collection;
import java.util.Set;

public interface RedisService {
    void putHash(String hashName, String key, Object value);

    Object getHashValueByKey(String hashName, String key);

    void removeHashKey(String hashName, String key);

    void removeHash(String hashName);

    int sizeHash(String hashName);

    Set<Object> keysHash(String hashName);

    Collection<Object> valuesHash(String hashName);
}
